Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
How tagrun.p interacts with the custom tag
As with the other utility procedures in the
install-path/src/web/supportdirectory (and referenced in thetagmap.datfile), theweb.outputtrigger procedure fortagrun.pis run when the output-fields event procedure has been dispatched for a Web object.The
web.outputtrigger takeshWidandfieldDefas input parameters; wherehWidis the widget handle to the WebSpeed fill-in field associated with the custom tag, andfieldDefis the HTML field definition that appears in the HTML file. The output procedure then runstagparse.pto parse the field definition for a specified tag attribute (in this case,NAMEorFILE), both of which are passed as input parameters. After parsingfieldDef,tagparse.preturns the attribute value.If the value of the
FILEattribute is“screenvalue”, thetagrun.pweb.output trigger procedure retrieves theSCREEN-VALUEwidget attribute of the fill-in field object associated with the tag and runs the specified procedure. This procedure then generates the HTML table.If the value of the
FILEattribute is a filename, then thetagrun.pweb.output trigger procedure runs the specified procedure to generate an HTML table. If you do not specify aFILEattribute, then you must define a customweb.outputcontrol handler to generate the HTML table.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |